package com.wangbo.servlet.db;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBManager {
	public static Connection con = null;

	public static Connection getConnection() {
		try {

			Class.forName(Config.DRIVER);
			con = DriverManager.getConnection(Config.URL, Config.NAME,
					Config.PS);
		} catch (Exception e) {

		}
		return con;
	}

}
